package com.example.seckilldemo.vo;

import com.example.seckilldemo.validator.isMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author Wangbaba
 * @Date 2024/3/18 16:49
 * @Version 1.0
 */
@Data
public class LoginVo {
    @NotNull
    @isMobile
    private String mobile;

    @NotNull
    @Length(min = 32)
    private String password;
}
